@import './styles/variables.less';

.App {
  text-align: center;

  &-logo {
    height: 40vmin;
    pointer-events: none;
    
    @media (prefers-reduced-motion: no-preference) {
      animation: App-logo-spin infinite 20s linear;
    }
  }

  &-header {
    background-color: #282c34;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: calc(10px + 2vmin);
    color: white;
  }

  &-link {
    color: @primary-color;
  }
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

// 响应式断点
@media (max-width: @screen-xs) {
  // 移动端样式
}

@media (min-width: @screen-xs) and (max-width: @screen-sm) {
  // 平板样式
}

@media (min-width: @screen-sm) and (max-width: @screen-md) {
  // 小屏桌面样式
}

@media (min-width: @screen-lg) {
  // 大屏桌面样式
} 